package studia.figlewicz.math.test;

import java.util.Date;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;

import studia.figlewicz.math.library.*;

public class _lib_test {
	
	public static void main(String[] args) {
		
		LinkedHashMap<Date,Object> mapa = new LinkedHashMap<Date,Object>();
		
//		mapa.put(new Date(155,0,0), new Integer(1));
//		mapa.put(new Date(0,6,0), new NotowanieSpot(2));
//		mapa.put(new Date(123,0,1), new NotowanieSpot(3));
//		mapa.put(new Date(7,0,0), new NotowanieSpot(4));
//		mapa.put(new Date(0,1,0), new NotowanieSpot(5));
//		mapa.put(new Date(0,0,2), new Integer(6));
//		mapa.put(new Date(1,0,5), new Integer(7));
//		mapa.put(new Date(0,0,9), new Integer(8));
//		mapa.put(new Date(145,0,0), new Integer(9));
		
		for (Date d : mapa.keySet()) {
			System.out.println(mapa.get(d)+"___"+d);
		}
		
		Utils.sortuj(mapa);
		System.out.println("\n\n\n\n\n");
		for (Date d : mapa.keySet()) {
			System.out.println(mapa.get(d)+"___"+d);
		}
		
	}
	
}
